package top.haijunit.cloud.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;

/**
 * 网关启动类
 *
 * @author zhanghaijun
 * @since 2024-09-03
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class NaviGatewayApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(NaviGatewayApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
    }
}
